package com.youbang.bsMgr.role.service;


import com.youbang.bsMgr.role.model.RoleEntity;

import java.util.List;

public interface RoleService {

    public List<RoleEntity> GetAllRole(Integer pageSize,Integer startIndex, Integer pageIndex,String searchRoleName);

    public int InsertRole(RoleEntity roleEntity);

    public  RoleEntity selectByPrimaryKey(int id);
    public int updateByPrimaryKey(RoleEntity record);
    public int deleteByPrimaryKey(int id);
    public int GetAllRoleCout(String searchRoleName);
}
